← Back to issue list

spread tests fail on non-interactive prompt in ruby/legacy-pull

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1834766
Type
issue
State
open
Author
~techtonik
Labels
Created
2019-06-30 06:15:24.902653+00:00
Updated
2019-06-30 06:15:24.902653+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

https://travis-ci.org/snapcore/snapcraft/jobs/552155933 ... 2019-06-29 14:55:24 WARNING: jun291409-049240 (google:ubuntu-18.04-64:tests/spread/plugins/ruby/legacy-pull) running late. Current output: ----- (...) Restart services during package upgrades without asking? [yes/no] ----- . The job exceeded the maximum time limit for jobs, and has been terminated. Looks like the message is shows when a package installation requires configuration https://unix.stackexchange.com/questions/146283/how-to-prevent-prompt-that-ask-to-restart-services-when-installing-libpq-dev The solution is to add `export DEBIAN_FRONTEND=noninteractive` to apt install command, but it is not clear where these command are. Failing legacy-pull task doesn't contain and `apt` commands https://github.com/snapcore/snapcraft/blob/master/tests/spread/plugins/ruby/legacy-pull/task.yaml and main `spread.yaml` is shared between tests, but they do not fail. So the problem should be in legacy `snapcraft pull` that probably fetches packages in interactive mode.

Evaluation history

No evaluation history available.